package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@NoArgsConstructor
@Data
@TableName("sc_red_packet_rule")
public class RedPacketRule extends SuperEntity implements Serializable {
    @ApiModelProperty("最小的区间开始")
    private Integer min;
    @ApiModelProperty("最大的区间结束")
    private Integer max;
    @ApiModelProperty("藏品id")
    private Integer collectionId;
    @ApiModelProperty("操作类型  0:直接购买 1:合成")
    private Integer type;
    @ApiModelProperty("单次单笔给多少钱")
    private BigDecimal price;
    @ApiModelProperty("给多少次")
    private Integer sum;
}
